package com.example.administrator.orchardeveryday.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 15-10-29.
 */
public class FreshEntity implements Serializable{

    /**
     * title : 抢鲜啦-北京
     * page_photo : http://cdn.fruitday.com/images/2015-07-27/7f12da27aec381dc700702d1707b16cb.jpg
     * products : [{"id":"6214","product_name":"南非葡萄柚","summary":"aaa","thum_photo":"http://cdn.fruitday.com/product_pic/4259/1/1-180x180-4259-S3KT9FTS.jpg","photo":"http://cdn.fruitday.com/product_pic/4259/1/1-370x370-4259-S3KT9FTS.jpg","long_photo":"http://cdn.fruitday.com/images/images/2015-10-16/1444963777_long_photo.jpg","yd":"0","types":"a:6:{s:3:\"hot\";i:1;s:4:\"pnew\";i:0;s:6:\"import\";i:0;s:4:\"sale\";i:0;s:2:\"yj\";i:0;s:2:\"th\";i:0;}","lack":"0","maxgifts":"0","parent_id":"40","gift_photo":"","use_store":"1","product_desc":"肉质细腻，酸爽回甜","op_detail_place":"67","xsh_limit":"1","price":"45","stock":"185","old_price":"49","volume":"6个装","price_id":"8338","over_time":"2015-10-30 10:00:00","start_time":"2015-10-16 10:00:00","curr_time":"2015-10-29 21:33:12","description":"aa","prodcut_desc":"肉质细腻，酸爽回甜"},{"id":"6374","product_name":"优选蒙自石榴","summary":"aaa","thum_photo":"http://cdn.fruitday.com/images/product_pic/1796/1/1-180x180-1796-PAHKYFHW.jpg","photo":"http://cdn.fruitday.com/images/product_pic/1796/1/1-370x370-1796-PAHKYFHW.jpg","long_photo":"http://cdn.fruitday.com/images/images/2015-10-23/1445593851_long_photo.jpg","yd":"0","types":"a:6:{s:3:\"hot\";i:0;s:4:\"pnew\";i:1;s:6:\"import\";i:0;s:4:\"sale\";i:0;s:2:\"yj\";i:0;s:2:\"th\";i:0;}","lack":"0","maxgifts":"0","parent_id":"277","gift_photo":"","use_store":"1","product_desc":"每天限量30份，抢完即止！","op_detail_place":"50","xsh_limit":"1","price":"19","stock":"0","old_price":"29","volume":"3个装","price_id":"8502","over_time":"2015-10-30 10:00:00","start_time":"2015-10-23 10:00:00","curr_time":"2015-10-29 21:33:12","description":"aa","prodcut_desc":"每天限量30份，抢完即止！"}]
     */

    private String title;
    private String page_photo;
    private List<ProductsEntity> products;

    public void setTitle(String title) {
        this.title = title;
    }

    public void setPage_photo(String page_photo) {
        this.page_photo = page_photo;
    }

    public void setProducts(List<ProductsEntity> products) {
        this.products = products;
    }

    public String getTitle() {
        return title;
    }

    public String getPage_photo() {
        return page_photo;
    }

    public List<ProductsEntity> getProducts() {
        return products;
    }

    public static class ProductsEntity {
        /**
         * id : 6214
         * product_name : 南非葡萄柚
         * summary : aaa
         * thum_photo : http://cdn.fruitday.com/product_pic/4259/1/1-180x180-4259-S3KT9FTS.jpg
         * photo : http://cdn.fruitday.com/product_pic/4259/1/1-370x370-4259-S3KT9FTS.jpg
         * long_photo : http://cdn.fruitday.com/images/images/2015-10-16/1444963777_long_photo.jpg
         * yd : 0
         * types : a:6:{s:3:"hot";i:1;s:4:"pnew";i:0;s:6:"import";i:0;s:4:"sale";i:0;s:2:"yj";i:0;s:2:"th";i:0;}
         * lack : 0
         * maxgifts : 0
         * parent_id : 40
         * gift_photo :
         * use_store : 1
         * product_desc : 肉质细腻，酸爽回甜
         * op_detail_place : 67
         * xsh_limit : 1
         * price : 45
         * stock : 185
         * old_price : 49
         * volume : 6个装
         * price_id : 8338
         * over_time : 2015-10-30 10:00:00
         * start_time : 2015-10-16 10:00:00
         * curr_time : 2015-10-29 21:33:12
         * description : aa
         * prodcut_desc : 肉质细腻，酸爽回甜
         */

        private String id;
        private String product_name;
        private String summary;
        private String thum_photo;
        private String photo;
        private String long_photo;
        private String yd;
        private String types;
        private String lack;
        private String maxgifts;
        private String parent_id;
        private String gift_photo;
        private String use_store;
        private String product_desc;
        private String op_detail_place;
        private String xsh_limit;
        private String price;
        private String stock;
        private String old_price;
        private String volume;
        private String price_id;
        private String over_time;
        private String start_time;
        private String curr_time;
        private String description;
        private String prodcut_desc;

        public void setId(String id) {
            this.id = id;
        }

        public void setProduct_name(String product_name) {
            this.product_name = product_name;
        }

        public void setSummary(String summary) {
            this.summary = summary;
        }

        public void setThum_photo(String thum_photo) {
            this.thum_photo = thum_photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public void setLong_photo(String long_photo) {
            this.long_photo = long_photo;
        }

        public void setYd(String yd) {
            this.yd = yd;
        }

        public void setTypes(String types) {
            this.types = types;
        }

        public void setLack(String lack) {
            this.lack = lack;
        }

        public void setMaxgifts(String maxgifts) {
            this.maxgifts = maxgifts;
        }

        public void setParent_id(String parent_id) {
            this.parent_id = parent_id;
        }

        public void setGift_photo(String gift_photo) {
            this.gift_photo = gift_photo;
        }

        public void setUse_store(String use_store) {
            this.use_store = use_store;
        }

        public void setProduct_desc(String product_desc) {
            this.product_desc = product_desc;
        }

        public void setOp_detail_place(String op_detail_place) {
            this.op_detail_place = op_detail_place;
        }

        public void setXsh_limit(String xsh_limit) {
            this.xsh_limit = xsh_limit;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setStock(String stock) {
            this.stock = stock;
        }

        public void setOld_price(String old_price) {
            this.old_price = old_price;
        }

        public void setVolume(String volume) {
            this.volume = volume;
        }

        public void setPrice_id(String price_id) {
            this.price_id = price_id;
        }

        public void setOver_time(String over_time) {
            this.over_time = over_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public void setCurr_time(String curr_time) {
            this.curr_time = curr_time;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public void setProdcut_desc(String prodcut_desc) {
            this.prodcut_desc = prodcut_desc;
        }

        public String getId() {
            return id;
        }

        public String getProduct_name() {
            return product_name;
        }

        public String getSummary() {
            return summary;
        }

        public String getThum_photo() {
            return thum_photo;
        }

        public String getPhoto() {
            return photo;
        }

        public String getLong_photo() {
            return long_photo;
        }

        public String getYd() {
            return yd;
        }

        public String getTypes() {
            return types;
        }

        public String getLack() {
            return lack;
        }

        public String getMaxgifts() {
            return maxgifts;
        }

        public String getParent_id() {
            return parent_id;
        }

        public String getGift_photo() {
            return gift_photo;
        }

        public String getUse_store() {
            return use_store;
        }

        public String getProduct_desc() {
            return product_desc;
        }

        public String getOp_detail_place() {
            return op_detail_place;
        }

        public String getXsh_limit() {
            return xsh_limit;
        }

        public String getPrice() {
            return price;
        }

        public String getStock() {
            return stock;
        }

        public String getOld_price() {
            return old_price;
        }

        public String getVolume() {
            return volume;
        }

        public String getPrice_id() {
            return price_id;
        }

        public String getOver_time() {
            return over_time;
        }

        public String getStart_time() {
            return start_time;
        }

        public String getCurr_time() {
            return curr_time;
        }

        public String getDescription() {
            return description;
        }

        public String getProdcut_desc() {
            return prodcut_desc;
        }
    }
}
